package com.cxs.plan.controller;

import com.cxs.plan.domain.HttpResult;
import com.cxs.plan.service.CollectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/collect")
public class CollectController {

    @Autowired
    CollectService collectService;

    @RequestMapping("/index/app")
    public HttpResult getIndexInfo() {
        return HttpResult.success(collectService.selectAppIndexInfo());
    }
}
